.content-edit {
    width: 85%;
    height: auto;
    min-height: calc(100% - 60px);
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.edit-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
}

.edit-header h2 i {
    margin-right: 10px;
    color: #3498db;
}

.back-link {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.back-link i {
    margin-right: 5px;
}

.push {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.title-area {
    width: 75%;
}

.title-area label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
}

.title-area label i {
    margin-right: 5px;
    color: #3498db;
}

.push #title {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    padding: 0 15px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.push #title:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.push #submit {
    width: 20%;
    height: 45px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.push #submit i {
    margin-right: 8px;
}

.push #submit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.push #submit:active {
    transform: translateY(0);
}

.push #submit:disabled {
    background-color: #95a5a6;
    transform: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.editor-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

#editor {
    border-radius: 8px;
}

/* Markdown编辑器自定义样式 */
.editormd-toolbar {
    border-radius: 8px 8px 0 0;
    border: none !important;
    background-color: #f8f9fa !important;
}

.editormd-preview {
    background-color: #fff !important;
}

/* 提示区域 */
.help-tips {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(236, 240, 241, 0.7);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.help-tips h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
}

.help-tips h3 i {
    margin-right: 8px;
    color: #f39c12;
}

.help-tips ul {
    margin: 0;
    padding-left: 25px;
}

.help-tips li {
    margin-bottom: 8px;
    color: #34495e;
    line-height: 1.6;
}

.help-tips code {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
    color: #e74c3c;
}

/* 消息提示框 */
.message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    color: white;
    font-weight: 500;
}

.message-box.show {
    transform: translateX(0);
}

.message-box.success {
    background-color: #2ecc71;
}

.message-box.error {
    background-color: #e74c3c;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .content-edit {
        width: 95%;
        padding: 15px;
    }
    
    .edit-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .edit-header h2 {
        margin-bottom: 15px;
    }
    
    .push {
        flex-direction: column;
    }
    
    .title-area,
    .push #submit {
        width: 100%;
    }
    
    .push #submit {
        margin-top: 15px;
    }
}